package com.yc.game.dao;

import com.yc.game.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    int getByEmail(String email);


    User getUserByEmail(@Param("email") String email, @Param("password") String password);
}